<h1>Liste Incidents</h1>


<fieldset>

					<legend><%=h @type_incident.designation %></legend>

	<table>
		<tr>
			
			<td>Nom Machine</td>
			<td>Salle</td>
			<td>date de detection</td>
			<td>date de resolution</td>
		</tr>

	<% @incidents.each do |i| %>
  
			<tr>
				<td><%=h i.machine.nom_machine %></td>
				<td><%=h i.machine.salle.nom_salle %></td>			
				<td><%=h i.date_detection %></td>
				<td><%=h i.date_resolution %></td>
			</tr>
  
	<% end %>
 
	</table>
</fieldset>